.class public Lcom/instagram/android/directshare/b/b/a;
.super Ljava/lang/Object;
.source "InboxResponse.java"


# instance fields
.field private a:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lcom/instagram/j/l;",
            ">;"
        }
    .end annotation
.end field

.field private b:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Lcom/instagram/realtimeclient/RealtimePatchTuple;",
            ">;"
        }
    .end annotation
.end field

.field private c:Lcom/instagram/realtimeclient/RealtimePatchRange;

.field private d:Lcom/instagram/android/directshare/d/c;

.field private e:Lcom/instagram/android/model/d;

.field private f:Lcom/instagram/realtimeclient/RealtimeSubscription;


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 30
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 31
    new-instance v0, Lcom/instagram/android/directshare/d/c;

    invoke-direct {v0}, Lcom/instagram/android/directshare/d/c;-><init>()V

    iput-object v0, p0, Lcom/instagram/android/directshare/b/b/a;->d:Lcom/instagram/android/directshare/d/c;

    .line 32
    invoke-static {}, Lcom/instagram/android/model/d;->a()Lcom/instagram/android/model/d;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/directshare/b/b/a;->e:Lcom/instagram/android/model/d;

    .line 33
    return-void
.end method

.method public static a(Lcom/fasterxml/jackson/a/l;)Lcom/instagram/realtimeclient/RealtimeSubscription;
    .locals 3
    .parameter

    .prologue
    .line 36
    new-instance v0, Lcom/instagram/realtimeclient/RealtimeSubscription;

    invoke-direct {v0}, Lcom/instagram/realtimeclient/RealtimeSubscription;-><init>()V

    .line 37
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->getCurrentToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v1

    sget-object v2, Lcom/fasterxml/jackson/a/r;->m:Lcom/fasterxml/jackson/a/r;

    if-eq v1, v2, :cond_5

    .line 38
    :cond_0
    :goto_0
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v1

    sget-object v2, Lcom/fasterxml/jackson/a/r;->c:Lcom/fasterxml/jackson/a/r;

    if-eq v1, v2, :cond_5

    .line 39
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->getCurrentName()Ljava/lang/String;

    move-result-object v1

    .line 40
    const-string v2, "url"

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 41
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 42
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->getText()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/realtimeclient/RealtimeSubscription;->setURL(Ljava/lang/String;)V

    goto :goto_0

    .line 43
    :cond_1
    const-string v2, "topic"

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2

    .line 44
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 45
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->getText()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/realtimeclient/RealtimeSubscription;->setTopic(Ljava/lang/String;)V

    goto :goto_0

    .line 46
    :cond_2
    const-string v2, "sequence"

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_3

    .line 47
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 48
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->getText()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/realtimeclient/RealtimeSubscription;->setSequence(Ljava/lang/String;)V

    goto :goto_0

    .line 49
    :cond_3
    const-string v2, "auth"

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_4

    .line 50
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 51
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->getText()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/realtimeclient/RealtimeSubscription;->setAuthToken(Ljava/lang/String;)V

    goto :goto_0

    .line 52
    :cond_4
    if-eqz v1, :cond_0

    .line 54
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->skipChildren()Lcom/fasterxml/jackson/a/l;

    goto :goto_0

    .line 58
    :cond_5
    invoke-virtual {v0}, Lcom/instagram/realtimeclient/RealtimeSubscription;->isValid()Z

    move-result v1

    if-eqz v1, :cond_6

    .line 61
    :goto_1
    return-object v0

    :cond_6
    const/4 v0, 0x0

    goto :goto_1
.end method

.method public static b(Lcom/fasterxml/jackson/a/l;)Ljava/util/Map;
    .locals 5
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/fasterxml/jackson/a/l;",
            ")",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Lcom/instagram/realtimeclient/RealtimePatchTuple;",
            ">;"
        }
    .end annotation

    .prologue
    .line 65
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    .line 66
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->getCurrentToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v1

    sget-object v2, Lcom/fasterxml/jackson/a/r;->b:Lcom/fasterxml/jackson/a/r;

    if-ne v1, v2, :cond_2

    .line 67
    :cond_0
    :goto_0
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v1

    sget-object v2, Lcom/fasterxml/jackson/a/r;->c:Lcom/fasterxml/jackson/a/r;

    if-eq v1, v2, :cond_2

    .line 68
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->getCurrentName()Ljava/lang/String;

    move-result-object v1

    .line 70
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v2

    sget-object v3, Lcom/fasterxml/jackson/a/r;->d:Lcom/fasterxml/jackson/a/r;

    if-ne v2, v3, :cond_1

    .line 71
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 72
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->getBooleanValue()Z

    move-result v2

    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v2

    .line 74
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 75
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->getValueAsString()Ljava/lang/String;

    move-result-object v3

    .line 77
    new-instance v4, Lcom/instagram/realtimeclient/RealtimePatchTuple;

    invoke-virtual {v2}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v2

    invoke-direct {v4, v2, v3}, Lcom/instagram/realtimeclient/RealtimePatchTuple;-><init>(ZLjava/lang/String;)V

    .line 78
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v2

    sget-object v3, Lcom/fasterxml/jackson/a/r;->e:Lcom/fasterxml/jackson/a/r;

    if-ne v2, v3, :cond_0

    .line 79
    invoke-interface {v0, v1, v4}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_0

    .line 82
    :cond_1
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->skipChildren()Lcom/fasterxml/jackson/a/l;

    goto :goto_0

    .line 86
    :cond_2
    return-object v0
.end method

.method public static c(Lcom/fasterxml/jackson/a/l;)Lcom/instagram/realtimeclient/RealtimePatchRange;
    .locals 3
    .parameter

    .prologue
    .line 90
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 91
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->getValueAsString()Ljava/lang/String;

    move-result-object v0

    .line 93
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 94
    invoke-virtual {p0}, Lcom/fasterxml/jackson/a/l;->getValueAsString()Ljava/lang/String;

    move-result-object v1

    .line 96
    new-instance v2, Lcom/instagram/realtimeclient/RealtimePatchRange;

    invoke-direct {v2, v0, v1}, Lcom/instagram/realtimeclient/RealtimePatchRange;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    return-object v2
.end method


# virtual methods
.method public a()Lcom/instagram/android/model/d;
    .locals 1

    .prologue
    .line 100
    iget-object v0, p0, Lcom/instagram/android/directshare/b/b/a;->e:Lcom/instagram/android/model/d;

    return-object v0
.end method

.method public a(Lcom/instagram/android/directshare/d/c;)V
    .locals 0
    .parameter

    .prologue
    .line 118
    iput-object p1, p0, Lcom/instagram/android/directshare/b/b/a;->d:Lcom/instagram/android/directshare/d/c;

    .line 119
    return-void
.end method

.method public a(Lcom/instagram/realtimeclient/RealtimePatchRange;)V
    .locals 0
    .parameter

    .prologue
    .line 138
    iput-object p1, p0, Lcom/instagram/android/directshare/b/b/a;->c:Lcom/instagram/realtimeclient/RealtimePatchRange;

    .line 139
    return-void
.end method

.method public a(Lcom/instagram/realtimeclient/RealtimeSubscription;)V
    .locals 0
    .parameter

    .prologue
    .line 150
    iput-object p1, p0, Lcom/instagram/android/directshare/b/b/a;->f:Lcom/instagram/realtimeclient/RealtimeSubscription;

    .line 151
    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 3
    .parameter

    .prologue
    .line 104
    if-nez p1, :cond_0

    .line 105
    iget-object v0, p0, Lcom/instagram/android/directshare/b/b/a;->e:Lcom/instagram/android/model/d;

    sget-object v1, Lcom/instagram/android/model/e;->a:Lcom/instagram/android/model/e;

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lcom/instagram/android/model/d;->a(Lcom/instagram/android/model/e;Ljava/lang/String;)V

    .line 111
    :goto_0
    return-void

    .line 108
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/directshare/b/b/a;->e:Lcom/instagram/android/model/d;

    sget-object v1, Lcom/instagram/android/model/e;->c:Lcom/instagram/android/model/e;

    invoke-virtual {v0, v1, p1}, Lcom/instagram/android/model/d;->a(Lcom/instagram/android/model/e;Ljava/lang/String;)V

    goto :goto_0
.end method

.method public a(Ljava/util/List;)V
    .locals 0
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Lcom/instagram/j/l;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 126
    iput-object p1, p0, Lcom/instagram/android/directshare/b/b/a;->a:Ljava/util/List;

    .line 127
    return-void
.end method

.method public a(Ljava/util/Map;)V
    .locals 0
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Lcom/instagram/realtimeclient/RealtimePatchTuple;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 134
    iput-object p1, p0, Lcom/instagram/android/directshare/b/b/a;->b:Ljava/util/Map;

    .line 135
    return-void
.end method

.method public b()Lcom/instagram/android/directshare/d/c;
    .locals 1

    .prologue
    .line 114
    iget-object v0, p0, Lcom/instagram/android/directshare/b/b/a;->d:Lcom/instagram/android/directshare/d/c;

    return-object v0
.end method

.method public c()Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List",
            "<",
            "Lcom/instagram/j/l;",
            ">;"
        }
    .end annotation

    .prologue
    .line 122
    iget-object v0, p0, Lcom/instagram/android/directshare/b/b/a;->a:Ljava/util/List;

    return-object v0
.end method

.method public d()Ljava/util/Map;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Lcom/instagram/realtimeclient/RealtimePatchTuple;",
            ">;"
        }
    .end annotation

    .prologue
    .line 130
    iget-object v0, p0, Lcom/instagram/android/directshare/b/b/a;->b:Ljava/util/Map;

    return-object v0
.end method

.method public e()Lcom/instagram/realtimeclient/RealtimePatchRange;
    .locals 1

    .prologue
    .line 142
    iget-object v0, p0, Lcom/instagram/android/directshare/b/b/a;->c:Lcom/instagram/realtimeclient/RealtimePatchRange;

    return-object v0
.end method

.method public f()Lcom/instagram/realtimeclient/RealtimeSubscription;
    .locals 1

    .prologue
    .line 146
    iget-object v0, p0, Lcom/instagram/android/directshare/b/b/a;->f:Lcom/instagram/realtimeclient/RealtimeSubscription;

    return-object v0
.end method
